//
//  MyTableHeaderView.m
//  YTwallet
//
//  Created by ZhangLin on 2019/3/7.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "MyTableHeaderView.h"
#import <Masonry.h>
@implementation MyTableHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        //在这里向contentView添加控件
        [self setupViews];
    }
    return self;
}

-(void)setupViews
{    
    self.tipsLab = [[UILabel alloc] init];
    [self.contentView addSubview:self.tipsLab];
}


-(void)layoutSubviews
{
    [super layoutSubviews];
    [self.tipsLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self);
        make.left.mas_equalTo(15);
    }];
    
}


@end
